Names of Documents corrected

Today I corrected the implementation of the titles of the documents created or loaded.

When the new document is created the file get the name of “Document i” where i could be 1,2,3…. and so on.

And when a file is opened, its saved name is displayed as the title.

I’ve also corrected the Cancel button bug, i.e even if the user clicks cancel on any file dialog the rest of the function was still getting executed. So implemented an exception to that.

While writing this post I’ve got another idea to further improve the issue I solved today. Going to work on that as well.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s