r18725 by fschmid - Fixed Bug #11956: Add a "Close" icon to document tabs

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 13 21:55:11 UTC 2014


Author: fschmid
Date: Mon Jan 13 21:55:11 2014
New Revision: 18725

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18725
Log:
Fixed Bug #11956: Add a "Close" icon to document tabs

Modified:
    trunk/Scribus/scribus/scribus.cpp

Modified: trunk/Scribus/scribus/scribus.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18725&path=/trunk/Scribus/scribus/scribus.cpp
==============================================================================
--- trunk/Scribus/scribus/scribus.cpp (original)
+++ trunk/Scribus/scribus/scribus.cpp Mon Jan 13 21:55:11 2014
@@ -8024,7 +8024,10 @@
 		}
 		emit UpdateRequest(reqDefFontListUpdate);
 		if (prefsManager->appPrefs.uiPrefs.useTabs)
+		{
 			mdiArea->setViewMode(QMdiArea::TabbedView);
+			mdiArea->setTabsClosable(true);
+		}
 		else
 			mdiArea->setViewMode(QMdiArea::SubWindowView);
 		bool shadowChanged = oldPrefs.displayPrefs.showPageShadow != prefsManager->showPageShadow();




More information about the scribus-commit mailing list