FrancescoCeruti / linux-show-player

Linux Show Player - Cue player designed for stage productions
https://linux-show-player.org
GNU General Public License v3.0
205 stars 49 forks source link

Error when selecting file at the beginning #162

Closed Gajenthran closed 5 years ago

Gajenthran commented 5 years ago

I made a really little modification on your code. Before the modification, the problem was: At the beginning, if we want to choose a file, we can click on "Open file". Then, it opens a window where we can choose our file and "confirm" but we can also decide to "cancel". When we "cancel", the program automatically choose our layout.

I think an image will be more understandable:

Capture d’écran 2019-03-20 à 13 15 35

As I said before, I made a really little modification: I just put the method which will confirm/accept the layout only if we choose a file.

EDIT: Sorry, I didn't actualise the develop branch. I see that the problem was corrected.