-
Notifications
You must be signed in to change notification settings - Fork 103
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
Small bug fixes on Import Dataset dialog #6242
Conversation
instat/dlgImportDataset.vb
Outdated
If clbSheets.CheckedItems.Count > 1 Then | ||
ucrSaveFile.Hide() | ||
ElseIf clbSheets.CheckedItems.Count = 1 Then | ||
ucrSaveFile.Show() | ||
ucrSaveFile.SetName(dctSelectedExcelSheets.Values.First(), bSilent:=True) | ||
ElseIf clbSheets.CheckedItems.Count = 0 Then | ||
ucrSaveFile.Show() | ||
ucrSaveFile.SetName(frmMain.clsRLink.MakeValidText(strFileName), bSilent:=True) | ||
End If |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace with a select/case statement?
Co-authored-by: lloyddewit <[email protected]>
@lloyddewit thanks for the comment above. I think have resolved it. |
@rdstern please could you test? thanks |
@shadrackkibet sounds good |
@shadrackkibet thanks for your comments. I think have resolved them? could you test? |
@N-thony can you edit this PR title so that it contains the details of the bug fixed and the changes made? Check the message below from Danny sent to your mailbox.
|
Another problem is that the new data frame name is not retained on reopen. It is always reset to the default name. |
@shadrackkibet thanks for your comment, would you come again. I have tried this and the new data frame name is retained on reopening. |
Notice that the name ("myData") is lost. |
@shadrackkibet I think it is fine since the New Data frame name always by default will be the file name. If you click on a file, it sets the name of the file. |
@N-thony As a general principle, if the user closes a dialog, and then reopens it later, the dialog should return to the state it was in when it was closed. Therefore I think @shadrackkibet 's comment from 08 March is still open. Is it difficult to fix? |
@lloyddewit thanks for your comment. I think have resolved it. |
@N-thony I tested and this now seems to be resolved - thanks |
@rdstern please could you retest? thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is changed but partly still remains.
I opened an Excel file from the library as described before - it worked fine.
Then I tried to open a new file and it gave me the provisional name of the previous one. This is an occasion when the name freom before should be updated, rather than just remembered.
@rdstern thanks for your comment above. I think have resolved it. Please could you test? |
fixes #6229
@africanmathsinitiative/developers @rdstern this is ready for review. Thanks