src/Application.vala
authorAlan <alan@roojs.com>
Tue, 2 Jan 2024 06:24:54 +0000 (14:24 +0800)
committerAlan <alan@roojs.com>
Tue, 2 Jan 2024 06:24:54 +0000 (14:24 +0800)
src/Application.vala

index 7400703..6ae7a9a 100644 (file)
@@ -597,7 +597,7 @@ flutter-project  - create a flutter project in /tmp/test-flutter
                                        return;
                                }
                                var req = ww.windowstate.project.last_request;
-                               if (req.errorByType.has_key(ww.windowstate.file.path)) {
+                               if (req.errorByType.has_key(ww.windowstate.file.targetName())) {
        
                                        ww.windowstate.code_editor_tab.updateErrorMarks(req.errorByFile.get(ww.windowstate.file.targetName()));
                                }