mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-15 17:12:36 +02:00
2015-01-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlogmanager/edit_eventline.cpp' that caused an invalid event line to be created when the dialog was closed by means of the 'X' button [GitHub issue #000053].
This commit is contained in:
parent
ad53400250
commit
9ea2d9c020
@ -14705,3 +14705,7 @@
|
||||
* Fixed a bug in 'rdlogmanager/editschedrules.cpp' and
|
||||
'rdlogmanager/editschedrules.h' that caused scheduling rule data
|
||||
to be corrupt if the rules list was resorted [GitHub issue #000054].
|
||||
2015-01-09 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in 'rdlogmanager/edit_eventline.cpp' that caused
|
||||
an invalid event line to be created when the dialog was closed
|
||||
by means of the 'X' button [GitHub issue #000053].
|
||||
|
@ -237,3 +237,9 @@ void EditEventLine::cancelData()
|
||||
{
|
||||
done(-1);
|
||||
}
|
||||
|
||||
|
||||
void EditEventLine::closeEvent(QCloseEvent *e)
|
||||
{
|
||||
cancelData();
|
||||
}
|
||||
|
@ -46,6 +46,9 @@ class EditEventLine : public QDialog
|
||||
void okData();
|
||||
void cancelData();
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent *e);
|
||||
|
||||
private:
|
||||
RDEventLine *edit_eventline;
|
||||
QLineEdit *edit_eventname_edit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user