r23962 by jghali - #16192: Also remove redundant code from CanvasMode

scribus-commit scribus-commit at lists.scribus.net
Wed Jul 29 22:48:29 UTC 2020


Author: jghali
Date: Wed Jul 29 22:48:29 2020
New Revision: 23962

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23962
Log:
#16192: Also remove redundant code from CanvasMode

Modified:
    trunk/Scribus/scribus/canvasmode.cpp

Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23962&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode.cpp	Wed Jul 29 22:48:29 2020
@@ -1013,33 +1013,6 @@
 				m_keyRepeat = false;
 				return;
 				break;
-			case Qt::Key_Tab:
-				if (buttonModifiers == Qt::ControlModifier)
-				{
-					m_keyRepeat = false;
-					windows = mdiArea->subWindowList();
-					if (windows.count() > 1)
-					{
-						for (int i = 0; i < static_cast<int>(windows.count()); ++i)
-						{
-							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();
-						mainWindow->newActWin(w);
-					}
-					return;
-				}
-				break;
 			}
 		}
 		//Allow page up/down even when items are selected




More information about the scribus-commit mailing list