r14034 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:25:15 CEST 2009
Revision: 14034
Author: jghali
Date: 2009-09-23T20:18:23.350973Z
Commit message: #8453: use Ctrl+Tab instead of Tab for selecting next window
Changeset:
M /trunk/Scribus/scribus/scribus.cpp
Diffs:
Index: scribus/scribus.cpp
===================================================================
--- scribus/scribus.cpp (revision 14033)
+++ scribus/scribus.cpp (revision 14034)
@@ -1435,28 +1435,31 @@
return;
break;
case Qt::Key_Tab:
- keyrep = false;
- windows = mdiArea->subWindowList();
- if (windows.count() > 1)
+ if (buttonModifiers == Qt::ControlModifier)
{
- for (int i = 0; i < static_cast<int>(windows.count()); ++i)
+ keyrep = false;
+ windows = mdiArea->subWindowList();
+ if (windows.count() > 1)
{
- if (mdiArea->activeSubWindow() == 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 (mdiArea->activeSubWindow() == 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