editor: do not ask for saving on new document
A new, unmodified document does not contain any interresting data, let's not bother the user about saving before quitting in that case. fixup some code style while at it.
This commit is contained in:
parent
b85a3bddcb
commit
96cc9e82a4
@ -16,10 +16,10 @@ extern "C" {
|
||||
|
||||
#include "clientsocket.h"
|
||||
|
||||
class SyncDocument : public sync_data
|
||||
{
|
||||
class SyncDocument : public sync_data {
|
||||
public:
|
||||
SyncDocument() : rows(128), savePointDelta(0), savePointUnreachable(true)
|
||||
SyncDocument() :
|
||||
rows(128), savePointDelta(0), savePointUnreachable(false)
|
||||
{
|
||||
this->tracks = NULL;
|
||||
this->num_tracks = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user