FR 5150 then EI 3258 at Dublin
Glasgow → Dublin → Edinburgh
Timetable, Dublin time
23:40FR 5150 from Glasgow at the gate
18:55EI 3258 to Edinburgh leaves the gate
19 h 15 apart on the timetable, overnight
EI 3258 leaves 19 h 15 after FR 5150 arrives on the timetable: more than half a day, so not a connection we count.