Commit graph

26 commits

Author SHA1 Message Date
ospalh
0eaf03a9b3 Remove redundant connect to clicked().
A QDialogButtonBox::Close StandardButton has the RejectRole.
(http://doc.qt.nokia.com/4.7-snapshot/qdialogbuttonbox.html#StandardButton-enum)
So when that is clicked, that button’s clicked() signal
as well as the dialog’s rejected() signals are emitted.
Connecting EditCurrent’s onSave() to both was redundant.
It looks like calling onSave() twice was mostly harmless,
but not quite:
When closing the edit dialog, media on the edited card’s front side
were played twice (via moveToState ... Reviewer.showQuestion()).
So avoid that.
2012-06-04 16:19:59 +02:00
Damien Elmes
b3b5a41751 make sure edit current can be reopened 2012-05-27 13:18:04 +09:00
Damien Elmes
5ab511e17a treat edit current as separate window on osx 2012-05-26 22:49:35 +09:00
Damien Elmes
c5297afad4 save->close 2012-05-02 13:19:07 +09:00
Damien Elmes
86c890aa18 use separate window again for editor as it's still crashing on osx 2012-04-25 08:16:27 +09:00
Damien Elmes
a08776137b move to resetRequired on add/edit current 2012-04-22 07:00:54 +09:00
Damien Elmes
04ca160b5f if card is deleted while editing current, fetch next 2012-04-17 22:09:58 +09:00
Damien Elmes
dd57ed693f work around race condition in edit current close 2012-04-17 19:37:48 +09:00
Damien Elmes
9a7f9525ae app-modal edit as a test for mesqueeb's bug 2012-04-11 19:37:20 +09:00
Damien Elmes
96748e8621 fix due counts on undo/edit 2012-02-13 16:30:47 +09:00
Damien Elmes
9a6ddae1cb removeHook -> remHook 2011-12-06 00:11:48 +09:00
Damien Elmes
d7c4a55724 make sure we reload note after reset in editcurrent 2011-12-04 18:15:52 +09:00
Damien Elmes
5dd5ab710a connect current card editor; ensure same card is reviewed 2011-12-01 15:41:24 +09:00
Damien Elmes
f4150a5df4 refactor; add profile support 2011-11-24 12:48:58 +09:00
Damien Elmes
87da9f48b1 facts->notes 2011-11-23 13:35:14 +09:00
Damien Elmes
a253d756e3 use pyqt api2; move all imports into a single file for pyside 2011-04-28 09:28:02 +09:00
Damien Elmes
0c38354dae when editing a fact, use a group button instead of an input box 2011-04-28 09:28:00 +09:00
Damien Elmes
dd0a6563e7 reset conf after edit current 2011-04-28 09:27:59 +09:00
Damien Elmes
915798cf46 prevent flicker on modal dialogs 2011-04-28 09:27:56 +09:00
Damien Elmes
96a1802fc7 more edit current fixes 2011-04-28 09:27:56 +09:00
Damien Elmes
d9b08a8b28 reset on show to prevent changes in the background; fix editcurrent return 2011-04-28 09:27:56 +09:00
Damien Elmes
9da0a83735 edit current, hide 'close' button on osx 2011-04-28 09:27:56 +09:00
Damien Elmes
7acc6a882b gpl>agpl 2011-04-28 09:27:53 +09:00
Damien Elmes
77c20341c1 tweak focus handling 2011-04-28 09:27:53 +09:00
Damien Elmes
a4b08ff766 early work on new editor 2011-04-28 09:27:51 +09:00
Damien Elmes
698ba38e74 move various major functions into separate files 2011-04-28 09:26:50 +09:00