Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragging Files on Mac leaves an empty window #3

Closed
ghutchis opened this issue May 11, 2007 · 1 comment
Closed

Dragging Files on Mac leaves an empty window #3

ghutchis opened this issue May 11, 2007 · 1 comment

Comments

@ghutchis
Copy link
Owner

Currently, if I drag files to Avogadro on a Mac to open them, I'm left with one empty window. (Also, all the windows are in exactly the same spot.)

The code in main.cpp and application.cpp should take care of this, but it's not clear where the extra window comes -- it appears to be the first window created.

Also, the code in application.cpp could (in principal) be combined with MainWindow::openFile(filename).

Reported by: @ghutchis

@ghutchis
Copy link
Owner Author

Logged In: YES
user_id=21420
Originator: YES

This is fixed in SVN trunk, revision 464 or later. The code in application.cpp calls MainWindow to do its work and prevents an extra window from appearing.

Original comment by: @ghutchis

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

No branches or pull requests

1 participant