Skip to content

Gtk4Prep: MainWindow use dialog.show where simple#1758

Open
jeremypw wants to merge 4 commits into
masterfrom
jeremypw/gtkprep/action-revert-dialog
Open

Gtk4Prep: MainWindow use dialog.show where simple#1758
jeremypw wants to merge 4 commits into
masterfrom
jeremypw/gtkprep/action-revert-dialog

Conversation

@jeremypw

Copy link
Copy Markdown
Collaborator

Three more simple changes from #1739

Async stuff will be in final PR

Comment thread src/MainWindow.vala
var uris = file_chooser.get_uris ();
file_chooser.destroy (); // Close now so it does not stay open during lengthy or failed loading
if (res == Gtk.ResponseType.ACCEPT) {
foreach (string uri in file_chooser.get_uris ()) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you've cached the list of URIs but then try to get them from the chooser again here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants