Use main toolbar and main toolbar when device connected as defaults rather than second toolbar as I dont want to deal with 'I added a plugin and now I have all this wasted space' complaints

This commit is contained in:
Kovid Goyal 2012-03-25 19:14:44 +05:30
parent 7085d04837
commit 91643b20a3

View File

@ -39,7 +39,7 @@ class ChoosePluginToolbarsDialog(QDialog):
self._locations_list.setSizePolicy(sizePolicy)
for key, text in locations:
self._locations_list.addItem(text)
if key in {'toolbar-child',}:
if key in {'toolbar', 'toolbar-device'}:
self._locations_list.item(self._locations_list.count()-1
).setSelected(True)
self._layout.addWidget(self._locations_list)