#
# Copyright (C) 2010 Stefanos Harhalakis
#
-# This file is part of mydays.
+# This file is part of maegirls.
#
-# mydays is free software: you can redistribute it and/or modify
+# maegirls is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
-# mydays is distributed in the hope that it will be useful,
+# maegirls is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with mydays. If not, see <http://www.gnu.org/licenses/>.
+# along with maegirls. If not, see <http://www.gnu.org/licenses/>.
#
# $Id: 0.py 2265 2010-02-21 19:16:26Z v13 $
# The selection works but isn't shown
idx2=self.lstm.index(idx, 0)
self.lst.setCurrentIndex(idx2)
+ # Give if focus to show the current selection - is this normal?
+ self.lst.setFocus(Qt.OtherFocusReason)
# Run
QDialog.exec_(self)
self.setupUi(algo)
- self.dlgConfig=ConfigDialog(self)
- self.dlgAbout=AboutDialog(self)
- self.dlgHelp=HelpDialog(self)
+# self.dlgConfig=ConfigDialog(self)
+# self.dlgAbout=AboutDialog(self)
+# self.dlgHelp=HelpDialog(self)
+ self.dlgConfig=None
+ self.dlgAbout=None
+ self.dlgHelp=None
self.dlgGirls=None
self.algo=algo
self.menuhelp.triggered.connect(self.menuHelp)
m=self.menuBar()
- m.addAction(self.menuconfig)
m.addAction(self.menureset)
+ m.addAction(self.menuconfig)
m.addAction(self.menugirls)
m.addAction(self.menuhelp)
m.addAction(self.menuabout)