mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2014-11-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdlogedit/edit_log.cpp' that allowed GUID data in the clipboard to be transferred between logs.
This commit is contained in:
@@ -1153,6 +1153,9 @@ void EditLog::okData()
|
||||
#ifndef WIN32
|
||||
edit_player->stop();
|
||||
#endif // WIN32
|
||||
for(unsigned i=0;i<edit_clipboard->size();i++) {
|
||||
edit_clipboard->at(i).clearExternalData();
|
||||
}
|
||||
done(0);
|
||||
}
|
||||
|
||||
@@ -1183,6 +1186,9 @@ void EditLog::cancelData()
|
||||
#ifndef WIN32
|
||||
edit_player->stop();
|
||||
#endif // WIN32
|
||||
for(unsigned i=0;i<edit_clipboard->size();i++) {
|
||||
edit_clipboard->at(i).clearExternalData();
|
||||
}
|
||||
done(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user