Select "Added Files" tab after dragging and dropping files.

Ensure the "Added Files" tab is automatically selected after users drag and drop files for conversion. This improves user experience by guiding them to the newly added content.
This commit is contained in:
2025-05-25 21:46:19 +05:00
parent 5f72ce8c56
commit 5ab11922b9

View File

@@ -279,6 +279,7 @@ func newFileForConversion(app kernel.AppContract, itemsToConvertService kernel.I
listableURI := storage.NewFileURI(filepath.Dir(uri.Path()))
locationURI, _ = storage.ListerForURI(listableURI)
}
app.GetWindow().GetLayout().GetRightTabs().SelectAddedFilesTab()
if isError {
fileForConversion.message.Text = app.GetLocalizerService().GetMessage(&i18n.LocalizeConfig{
MessageID: "errorDragAndDropFile",