r14035 by jghali - #8453: use Ctrl+Tab instead of Tab for selecting next window
scribus-commit
scribus-commit at lists.scribus.net
Wed Sep 23 22:30:15 CEST 2009
Revision: 14035
Author: jghali
Date: 2009-09-23T20:23:16.395516Z
Commit message: #8453: use Ctrl+Tab instead of Tab for selecting next window
Changeset:
M /branches/Version135/Scribus/scribus/scribus.cpp
Diffs:
Index: scribus/scribus.cpp
===================================================================
--- scribus/scribus.cpp (revision 14034)
+++ scribus/scribus.cpp (revision 14035)
@@ -1425,28 +1425,31 @@
return;
break;
case Qt::Key_Tab:
- keyrep = false;
- windows = wsp->windowList();
- if (windows.count() > 1)
+ if (buttonModifiers == Qt::ControlModifier)
{
- for (int i = 0; i < static_cast<int>(windows.count()); ++i)
+ keyrep = false;
+ windows = wsp->windowList();
+ if (windows.count() > 1)
{
- if (wsp->activeWindow() == windows.at(i))
+ for (int i = 0; i < static_cast<int>(windows.count()); ++i)
{
- if (i == static_cast<int>(windows.count()-1))
- w = windows.at(0);
- else
- w = windows.at(i+1);
- break;
+ if (wsp->activeWindow() == windows.at(i))
+ {
+ if (i == static_cast<int>(windows.count()-1))
+ w = windows.at(0);
+ else
+ w = windows.at(i+1);
+ break;
+ }
}
+ outlinePalette->buildReopenVals();
+ docCheckerPalette->clearErrorList();
+ if ( w )
+ w->showNormal();
+ newActWin(w);
}
- outlinePalette->buildReopenVals();
- docCheckerPalette->clearErrorList();
- if ( w )
- w->showNormal();
- newActWin(w);
+ return;
}
- return;
break;
}
}
More information about the scribus-commit
mailing list